Package com.cisco.pt.ipc.sim.pdu.impl
Class UsbManagementSignalImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.UsbManagementSignalImpl
- All Implemented Interfaces:
IPCData,Pdu,Signal,UsbManagementSignal
-
Field Summary
FieldsFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) booleanintgetSpeed()voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetIsBegin(boolean isBegin) voidsetSpeed(int speed) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
isBegin
protected boolean isBegin -
speed
protected int speed
-
-
Constructor Details
-
UsbManagementSignalImpl
public UsbManagementSignalImpl()
-
-
Method Details
-
getIsBegin
public boolean getIsBegin()- Specified by:
getIsBeginin interfaceUsbManagementSignal- Returns:
- boolean Returns a boolean
-
setIsBegin
public void setIsBegin(boolean isBegin) - Specified by:
setIsBeginin interfaceUsbManagementSignal- Parameters:
isBegin- Takes in a parameter of isBegin
-
getSpeed
public int getSpeed()- Specified by:
getSpeedin interfaceUsbManagementSignal- Returns:
- int Returns a int
-
setSpeed
public void setSpeed(int speed) - Specified by:
setSpeedin interfaceUsbManagementSignal- Parameters:
speed- Takes in a parameter of speed
-
getFieldType
- Overrides:
getFieldTypein classPduImpl
-
read
Reads this object from an EncodedBuffer of raw data -
pduRead
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classPduImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classPduImpl
-